import { QuestionCircleOutlined } from '@ant-design/icons';
import { Tooltip } from 'antd';

interface Props {
  title: React.ReactNode;
  className?: string;
}

const Tip = ({ title, className }: Props) => {
  return (
    <>
      <Tooltip title={title} className={className}>
        <QuestionCircleOutlined />
      </Tooltip>
    </>
  );
};

export default Tip;
